package com.yungu.swift.assets.passenger.model.vo;

import com.yungu.swift.base.model.BaseVo;
import com.yungu.swift.base.model.annotation.Desensitization;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 用户发票表
 **/
@Data
public class PassengerInvoiceAdminVo extends BaseVo {

    @ApiModelProperty("乘客UUID")
    private String passengerUuid;

    @ApiModelProperty(value = "发票状态(0待开票、1待寄出、2已寄出、3已取消、4已作废)", example = "0")
    private Integer status;

    @ApiModelProperty(value = "发票类型（1按行程 2按金额）", example = "0")
    private Integer type;

    @ApiModelProperty(value = "支付方式(1.货到付款)")
    private Integer payType;

    @ApiModelProperty(value = "发票抬头")
    private String header;

    @ApiModelProperty(value = "金额", example = "0.0")
    private Double money;

    @ApiModelProperty(value = "发票内容")
    private String content;

    @Desensitization(type = Desensitization.DesensitionType.NAME)
    @ApiModelProperty(value = "收件人")
    private String recipient;

    @Desensitization(type = Desensitization.DesensitionType.MOBILE)
    @ApiModelProperty(value = "收件人联系电话")
    private String mobile;

    @ApiModelProperty(value = "所在地区")
    private String area;

    @ApiModelProperty(value = "详细地址")
    private String detailAddress;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "物流订单号")
    private String logisticsOrderNo;

    @ApiModelProperty(value = "订单的Id，多笔订单以逗号分隔")
    private String orderUuid;

    @ApiModelProperty(value = "物流公司")
    private String logisticsCompany;

    @ApiModelProperty(value = "发票号")
    private String invoiceNo;

    @Desensitization(type = Desensitization.DesensitionType.MOBILE)
    @ApiModelProperty(value = "乘客手机号")
    private String passengerMobile;

    @ApiModelProperty(value = "纳税人识别码")
    private String taxpayerNo;

    @ApiModelProperty(value = "计件日期")
    private Date operationTime;
}
